
// 经纪人1
import { getUrl, deleteUrl, putUrl, postUrl } from "../utils/request";
// 获取经纪人数据
export const httpGetAgent = async (url, params) => await postUrl(url, params);
// 删除经纪人数据
export const httpDelAgent = async (url, params) => await deleteUrl(url, params);
// 添加经纪人数据
export const httpAddAgent = async (url, params) => await putUrl(url, params);
// 编辑经纪人数据
export const httpEditAgent = async (url, params) => await postUrl(url, params);
// 启用经纪人数据
export const httpAble = async (url, params) => await postUrl(url, params);
// 禁用经纪人数据
export const httpEnable = async (url, params) => await postUrl(url, params);